package com.happyhome.datamodel;

import static com.mysema.query.types.PathMetadataFactory.*;

import com.mysema.query.types.*;
import com.mysema.query.types.path.*;


/**
 * QOpinion is a Querydsl query type for Opinion
 */
public class QOpinion extends EntityPathBase<Opinion> {

    private static final long serialVersionUID = -1733388585;

    private static final PathInits INITS = PathInits.DIRECT;

    public static final QOpinion opinion = new QOpinion("opinion");

    public final StringPath author = createString("author");

    public final StringPath content = createString("content");

    public final DateTimePath<java.util.Date> dateCreated = createDateTime("dateCreated", java.util.Date.class);

    public final NumberPath<Long> id = createNumber("id", Long.class);

    public final QImage image;

    public final BooleanPath isDisplay = createBoolean("isDisplay");

    public final BooleanPath status = createBoolean("status");

    public QOpinion(String variable) {
        this(Opinion.class, forVariable(variable), INITS);
    }

    public QOpinion(PathMetadata<?> metadata) {
        this(metadata, metadata.isRoot() ? INITS : PathInits.DEFAULT);
    }

    public QOpinion(PathMetadata<?> metadata, PathInits inits) {
        this(Opinion.class, metadata, inits);
    }

    public QOpinion(Class<? extends Opinion> type, PathMetadata<?> metadata, PathInits inits) {
        super(type, metadata, inits);
        this.image = inits.isInitialized("image") ? new QImage(forProperty("image"), inits.get("image")) : null;
    }

}

